/* banner图 */
.banner {
    height: 500px;
    background-color: #f5f5f5;
}

.banner .wrapper {
    position: relative;
    width: 1240px;
	height: 500px;
    background-color: pink;
}

/* 侧导航 */
.banner .aside {
    position: absolute;
    left: 0;
    top: 0;
    width: 251px;
	height: 500px;
	background-color: #000000;
	opacity: 0.8;
}

.banner .aside li {
    height: 50px;
    line-height: 50px;
}

.banner .aside a {
    position: relative;
    display: block;
    padding-left: 35px;
    padding-right: 19px;
    height: 50px;
    color: #ffffff;
}

.banner .aside a span {
    padding-left: 15px;
    font-size: 14px;

}

.banner .aside a:hover {
    background-color: #27ba9b;
}

/* a的里面在最后添加> */
.banner .aside a::after {
    content: "";
    position: absolute;
    right: 19px;
    top: 19px;
    width: 6px;
	height: 11px;
    /* background-color: #fff; */
    background-image: url(../images/sprites.png);
    background-position: -80px -110px;
}

/* 箭头 */
.prev,
.next {
    position: absolute;
    top: 228px;
    width: 45px;
    height: 45px;
    background-color: rgba(0,0,0,0.2);background-image: url(../images/sprites.png);
    border-radius: 50%;

}

/* 背景图位置负责2件事: 改变箭头在盒子里面的位置; 改变精灵图的位置 */
/* 导致在精灵图中测量的尺寸不准确 */
/* 解决方案有2种: 
    1. 书写背景图位置属性, 借助谷歌的调试工具调试具体的位置数值
    2. 书写标签的时候, a负责盒子,里面再添加一个span负责箭头
*/

.prev {
    left: 260px;
    background-position: 14px -60px;
}

.next {
    right: 10px;
    background-position: -23px -60px;
}

/* 圆点 */
.banner ol {
    position: absolute;
    left: 680px;
    bottom: 30px;

    height: 10px;
}

.banner ol li {
    float: left;
    margin-right: 24px;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
}

.banner ol .current {
    background-color: #fff;
}

/* 新鲜好物 */
/* 人气推荐 */

.goods1 .hd {
    height: 114px;
    /* background-color: pink; */
    line-height: 114px;
}

.goods1 .hd h2{
    height: 114px;
    font-weight: 400;
    font-size: 29px;
}

.goods1 .hd h2 span {
    padding-left: 34px;
    font-size: 16px;
    color: #999999;
}

.goods1 .hd a {
    color: #999999;
}

.goods1 .hd a::after {
    content: "";
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: 0 -110px;
    vertical-align: middle;
}

.goods1 .bd li {
    position: relative;
    margin-right: 8px;
    text-align: center;
    width: 304px;
	height: 405px;
	background-color: #f0f9f4;
}

.goods1 .bd li:nth-child(4n) {
    margin-right: 0;
}

.goods1 .bd li img {
    width: 304px;
    height: 305px;
}

.goods1 .bd li h3 {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 20px;
}

.goods1 .bd li div {
    /* margin-bottom: 21px; */
    font-size: 23px;
    font-weight: 400px;
    color: #9a2e1f;
}

.goods1 .bd li div span {
    /* margin-bottom: 21px; */
    font-weight: 400px;
	font-size: 23px;
    color: #9a2e1f;
}

.goods1 .bd li b {
    position: absolute;
    left: 17px;
    top: 18px;
    width: 28px;
	height: 51px;
    border: 1px solid #27ba9b;
    border-radius: 2px;
    font-size: 18px;
    font-weight: 400;
    color: #27ba9b;
    line-height: 24px;
}

/* 热门品牌 */

.goods3 {
    height: 466px;
	background-color: #f5f5f5;
}

.goods3 .hd {
    height: 115px;
}

.goods3 .hd h2 {
    margin-top: 42px;

    font-weight: 400;
    font-size: 29px;
    color: #333333;
}

.goods3 .hd h2 span {
    margin-top: 52px;
    margin-left: 35px;
    font-size: 16px;
    color: #999999;
}

.goods3 .hd .jiaobiao1{
    margin-top: 79px;
    width: 20px;
	height: 20px;
	background-color: #27ba9b;
    background-image: url(../images/sprites.png);
    background-position: 7px -106px;
}

.goods3 .hd .jiaobiao2 {
    margin-top: 79px;
    margin-right:  13px;
    width: 20px;
	height: 20px;
    background-color: #e2e2e2;
    background-image: url(../images/sprites.png);
    background-position: 7px -106px;
}

.goods3 .bd li {
    margin-right: 5px;
    width: 244px;
	height: 306px;
	background-color: #b13d3d;
}

.goods3 .bd li:nth-child(5n) {
    margin-right: 0;
}

.goods3 .bd li a img {
    width: 244px;
	height: 306px;
}

/* 生鲜 */

.goods2 .hd {
    height: 96px;
    /* background-color: pink; */
    line-height: 96px;
}

.goods2 .hd h2 {
    font-size: 29px;
    font-weight: 400;
    color: #333333;
}

.goods2 .hd .more {
    color: #999999;
}

.goods2 .hd .more::after {
    content: "";
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: 0 -110px;
    vertical-align: middle;
}

.goods2 .hd ul {
    margin-right: 35px;
}

.goods2 .hd ul li {
    float: left;
}

.goods2 .hd ul li a {
    padding: 2px 7px;
    margin-left: 6px;

}

.goods2 .hd ul li a:hover {
    color: #fff;
	background-color: #27ba9b;
}

.goods2 .bd .left {
    width: 240px;
    height: 610px;
    /* background-color: #cccaaa; */
}

.goods2 .bd .right {
    width: 1000px;
    height: 610px;
    /* background-color: skyblue; */
}

.goods2 .bd .right li{
    float: left;
    margin-left: 8px;
    width: 242px;
	height: 304px;
	/* background-color: pink; */
}

.goods2 .bd .right .fresh5 {
    margin-top: 2px;
}

.goods2 .bd .right li img {
    padding-left: 29px;
    padding-top: 8px;
    padding-bottom: 6px;
    width: 184px;
	height: 184px;
}

.goods2 .bd .right li a p {
    padding-left: 2em;
    font-size: 16px;
    color: #333333;
}

.goods2 .bd .right li a .price {
    font-size: 22px;
    color: #9a2e1f;
}

.goods2 .bd .right li:hover {
    border: 1px solid #27ba9b;
}

.goods4 {
    height: 512px;
    background-color: #f5f5f5;
}

.goods4 .hd {
    height: 115px;
    line-height: 115px;
}

.goods4 .hd h2 {
    font-size: 29px;
    font-weight: 400;
    color: #333333;
}

.goods4 .hd .more::after {
    content: "";
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
    /* background-color: green; */
    background-image: url(../images/sprites.png);
    background-position: 0 -110px;
    vertical-align: middle;
}

.goods4 .bd li {
    position: relative;
    float: left;
    margin-right: 13px;
    width: 404px;
	height: 356px;
	background-color: #ffffff;
}

.goods4 .bd li:nth-child(3n) {
    margin-right: 0;
}

.goods4 .bd li img {
    width: 404px;
	height: 288px;
}

.goods4 .bd li h4 {
    position: absolute;
    top: 222px;
    left: 15px;
    font-size: 20px;
    color: #ffffff;
}

.goods4 .bd li p {
    position: absolute;
    top: 255px;
    left: 15px;
    font-size: 16px;
    color: #999999;
}

.goods4 .bd li .love {
    display: inline-block;
    padding-top: 27px;
    font-size: 14px;
    color: #333333;
}

.goods4 .bd li .love::before {
    content: "";
    display: inline-block;
    margin-left: 17px;
    width: 15px;
	height: 13px;
    background-image: url(../images/sprites.png);
    background-position: -120px -110px;
    vertical-align: middle;
}

.goods4 .bd li .watch {
    display: inline-block;
    padding-top: 27px;
    font-size: 14px;
    color: #333333;
}

.goods4 .bd li .watch::before {
    content: "";
    display: inline-block;
    margin-left: 24px;
    width: 15px;
	height: 13px;
    background-image: url(../images/sprites.png);
    background-position: -160px -110px;
    vertical-align: middle;
}

.goods4 .bd li .pinglun {
    display: inline-block;
    padding-top: 27px;
    font-size: 14px;
    color: #333333;
}

.goods4 .bd li .pinglun::before {
    content: "";
    display: inline-block;
    margin-left: 205px;
    width: 17px;
    height: 18px;
    background-image: url(../images/sprites.png);
    background-position: -199px -110px;
    vertical-align: middle;
}

.xtx_bottom{
    height: 300px;
    background-color: #ffffff;
}

